<?php
  print_r($_POST);
?>
<form name="register" action="" method="post">
   <input type="text" name="uname" value="<?=rand(1,1100)?>" id="" />
</form>
<script src="../jQuery/jquery-1.10.1.min.js" type="text/javascript"></script>

<script type="text/javascript">
  $(document).ready(function(){
    test(1);
    function test(i)
    {

      console.log(i);
      //document.register.submit();
      setTimeout(function(){test(i+1)},1000);
    }

  });
</script>
